package sys.service;

import sys.entity.PageData;
import sys.entity.MenuEntity;

import javax.servlet.http.HttpServletResponse;
import java.util.List;

/**
 * @author Administrator
 */
public interface MenuService {

	void add(MenuEntity entity);

	void delete(MenuEntity entity);

	void update(MenuEntity entity);

	List<MenuEntity> select(MenuEntity entity);

	PageData<MenuEntity> likeSelect(MenuEntity entity);

    void exportExcel(MenuEntity entity, HttpServletResponse response);

    default void test(){

	}

    Integer selectRole(Integer id);

	Integer[] getMenuByUserId(Integer roleId);
}
